﻿namespace FrameworkCore.Migrations.Data;

/// <summary>
/// 审计实体
/// </summary>
public abstract class BaseAuditableEntity : BaseEntity, IAuditableEntity
{
    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? Created { get; set; } = DateTime.Now;

    /// <summary>
    /// 创建者
    /// </summary>
    public virtual string? CreatedBy { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public virtual DateTime? Updated { get; set; }

    /// <summary>
    /// 修改者
    /// </summary>
    public virtual string? UpdatedBy { get; set; }
}